<?php echo $this->atheme->form_open('', array('label'=>'Role Details')); ?>
<?php  echo $this->atheme->input('Role Name', 'edit[role_name]', set_value('role_name', @$edit->role_name), array('help'=>'')); ?>

<?php  echo $this->atheme->input('Description', 'edit[role_description]', set_value('role_description', @$edit->role_description), array('help'=>'Max. 255 characters.')); ?>

<?php  echo $this->atheme->input('Login Destination', 'edit[login_destination]', set_value('login_destination', (isset($edit->login_destination)?$edit->login_destination:'/')), array('help'=>'The site URL to redirect to on successful login.')); ?>

<?php  echo $this->atheme->select('Removable', 'edit[can_delete]', set_value('can_delete', @$edit->can_delete), array('options' => array('1' =>'Yes','0'=>'No'),'help'=>'Can this role be deleted?')); ?>
<fieldset>
<div class="form-group">
   <div class="col-sm-4 col-sm-offset-2">
		<a href="<?php echo $this->url_index;?>/permissions/<?php echo @$edit->role_id;?>"><?php echo form_button(array('class'=>' btn btn-default'),'Phân quyền'); ?></a>
   </div>
</div>
</fieldset>
<?php echo $this->atheme->form_submit(array(),array(), $edit_id); ?>
<?php echo $this->atheme->form_close(); ?>